#include "sleep.h"

void milliSleep(int msec) {
	struct timespec time;
	time.tv_sec = msec / 1000;
	time.tv_nsec = (msec % 1000) * (1000 * 1000);
	nanosleep(&time,NULL);
}


